package com.cly.common.entity.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.List;

public class OrderVO {
    // 订单id
    private Long id;
    // 订单总价
    private Integer totalFee;
    // 订单状态
    private Integer status;
    // 订单创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private LocalDateTime createTime;
    // 订单中的商品
    private List<OrderItem> orderItemList;
}
